﻿using MigSharp;
using System;
using System.Collections.Generic;

namespace CmsDatabaseMigrations.Migrations
{
    [MigrationExport(ModuleName = "Media", Tag = "Added some stored procedures (cms_sp_MediaFileRemoveByIds and cms_sp_MediaFileSelectByFolderIds). Fixed cms_sp_MediaContentSelectOne")]
    public class UspMediaStoredProcedures201309261631 : BatchMigration
    {
        protected override IEnumerable<string> SpFileNames
        {
            get
            {
                yield return "cms_sp_MediaFileRemoveByIds201309261631.sql";
                yield return "cms_sp_MediaFileSelectByFolderIds201309261630.sql";
                yield return "cms_sp_MediaContentSelectOne201309261636.sql";
            }
        }

        protected override IEnumerable<Action<IDatabase>> UpActions
        {
            get { return new List<Action<IDatabase>>(); }
        }

        protected override IEnumerable<Action<IDatabase>> DownActions
        {
            get { return new List<Action<IDatabase>>(); }
        }
    }
}